CC=gcc
TARGET=topK
SRC = $(wildcard *.c)
OBJ = $(patsubst %.c,%.o,$(SRC))

$(TARGET):$(OBJ)
	$(CC)  -o $@ $^

.PHONY:clean
clean:
	rm -rf $(TARGET) $(OBJ)
